import { defHttp } from '/@/utils/http/axios';

enum Api {
  QuestionList = '/article.question/getList',
  QuestionAdd = '/article.question/add',
  QuestionDel = '/article.question/del',
}

export const QuestionList = (params?: any) => defHttp.get<any>({ url: Api.QuestionList, params });
export const QuestionAdd = (params?: any) => defHttp.post<any[]>({ url: Api.QuestionAdd, params });
export const QuestionDel = (params?: any) => defHttp.post<any[]>({ url: Api.QuestionDel, params });
